package ComposicaoNotaFiscalItemPedido;

import org.nakedobjects.extended.Entity;
import org.nakedobjects.object.AbstractNakedObject;

@Entity
public class ItemPedido extends AbstractNakedObject{
	
	
	private NotaFiscal notafiscal;
	
	public NotaFiscal getNotafiscal() {
		resolve(notafiscal);
		return notafiscal;
		
	}
	
	public void setNotafiscal(NotaFiscal notafiscal) {
		this.notafiscal = notafiscal;
		objectChanged();
	}
}
